import request from '@/utils/request'

// 获取图形验证码
export function getCodeImg() {
  return request({
    url: '/captchaImage',
    method: 'get'
  })
}

// 获取短信验证码
export function getMobileCode(param) {
  return request({
    url: '/forget/sendMobleCode',
    method: 'get',
    params: param
  })
}

// 重置密码
export function getResetPwd(param) {
  return request({
    url: '/forget/resetPwd',
    method: 'get',
    params: param
  })
}
